﻿using S.Breed.Domain;
using S.Breed.Domain.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Breed.Infrastructure.Interface
{
    public interface IMaternalMatingRepository:IBaseRepository<MaternalMatingModel>
    {
        /// <summary>
        /// 批量添加配种信息
        /// </summary>
        /// <param name="dtos"></param>
        /// <returns></returns>
        public int AddMaternalMating(List<MaternalMatingModel> dtos);
        /// <summary>
        /// 显示配种信息
        /// </summary>
        /// <returns></returns>

        public List<MaternalMatingModel> ShowShowMaternalMating(string? mdate, string ear, int head);
        /// <summary>
        /// 查种公耳号
        /// </summary>
        /// <param name="ear"></param>
        /// <returns></returns>
        public MaternalMatingModel ShowRamEar(string ear);
    }
}
